package com.whw.fy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.whw.fy.config.IgnoreSwaggerParameter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Transient;

@ApiModel(value = "com-whw-fy-entity-Excute")
@Data
public class Excute {
    /**
     * 教学执行记录id
     */
    @ApiModelProperty(value = "教学执行记录id")
    private Integer excuteId;

    /**
     * 学生姓名id
     */
    @ApiModelProperty(value = "学生姓名id")
    private Integer excuteStudentId;

    /**
     * 执行教师id
     */
    @ApiModelProperty(value = "执行教师id")
    private Integer excuteTeacherId;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private Date excuteStarttime;

    /**
     * 计划目标
     */
    @ApiModelProperty(value = "计划目标")
    private String excutePlantarget;

    /**
     * 教学总结
     */
    @ApiModelProperty(value = "教学总结")
    private String excuteSummarize;

    /**
     * 天数
     */
    @ApiModelProperty(value = "天数")
    private Integer excuteDaytime;

    /**
     * 教学项目
     */
    @ApiModelProperty(value = "教学项目")
    private String excuteProject;

    /**
     * 教学目标
     */
    @ApiModelProperty(value = "教学目标")
    private String excuteTeachtarget;

    /**
     * 儿童表现
     */
    @ApiModelProperty(value = "儿童表现")
    private String excuteExpression;

    /**
     * 问题和解决方案
     */
    @ApiModelProperty(value = "问题和解决方案")
    private String excuteIssue;
    /**
     * 教学计划开始时间
     */
    @Transient
    @ApiModelProperty(value = "开始时间(传这个)")
    private String excuteStarttimeToString;

    @Transient
    @IgnoreSwaggerParameter
    private Staff staff;

    @Transient
    @IgnoreSwaggerParameter
    private Student student;







}
